//
//  CircleCollectionViewCell.m
//  Frame
//
//  Created by 这是工作本 on 16/3/1.
//  Copyright © 2016年 这是工作本. All rights reserved.
//
@interface CircleCollectionViewCell ()
@property (nonatomic, retain) UILabel *la;
@end

#import "CircleCollectionViewCell.h"


@implementation CircleCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self createSubViews];
    }
    return self;
}

- (void)cellForTitle:(NSString *)str
{
    self.la.text = str;
    self.la.font = [UIFont systemFontOfSize:13.0 * ScreenWidth];
    self.la.textAlignment = NSTextAlignmentCenter;
    self.la.textColor = [UIColor colorWithRed:30 / 255.0 green:30 / 255.0 blue:30 / 255.0 alpha:1.0];

}

- (void)createSubViews
{
    
    self.la = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
    [self.contentView addSubview:self.la];
    
}

@end
